package com.lge.pitchingcoins.ui.server;

public class ClientScore {
    private String nickname = null;
    private int score = -1;
    
    public ClientScore(String nickname, int score) {
        this.nickname = nickname;
        this.score = score;
    }

    
    // Getters and Setters
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }


    @Override
    public String toString() {
        if (nickname != null && score >= 0) {
            return nickname + "        " + score;
        }
        
        return super.toString();
    }
}